package Dao;

import Entity.Experiment;
import java.util.List;

public interface ExperimentDaoImpl {
    public List<Experiment> findAllExperiment();
    public Experiment findById(int id);     // 根据id查找实验
    public List<Experiment> findByTe_number(String te_number);      //查找某个老师的实验
    public List<Experiment> findByType(int type);       // 根据类别查找实验，1硬件，2软件
    public List<Experiment> findByWeek(int week);       // 查找某一周做的实验

    public boolean addExperiment(Experiment experiment);//添加
    public boolean updateExperiment(Experiment experiment);//修改
    public boolean deleteExperiment(Experiment experiment);//删除
}
